<template>
  <ul class="total">
    <li class="total-item">
      <i class="el-icon-s-custom"></i>
      <div class="info">
        <span class="num">100</span>
        <span class="text">新增用户</span>
      </div>
    </li>
    <li class="total-item">
      <i class="el-icon-mouse"></i>
      <div class="info">
        <span class="num">100</span>
        <span class="text">累计点击</span>
      </div>
    </li>
    <li class="total-item">
      <i class="el-icon-tickets"></i>
      <div class="info">
        <span class="num">100</span>
        <span class="text">新增文章</span>
      </div>
    </li>
    <li class="total-item">
      <i class="el-icon-s-comment"></i>
      <div class="info">
        <span class="num">100</span>
        <span class="text">新增互动</span>
      </div>
    </li>
    <li class="total-item">
      <i class="el-icon-share"></i>
      <div class="info">
        <span class="num">100</span>
        <span class="text">分享统计</span>
      </div>
    </li>
  </ul>
</template>

<script>
  export default {
    name: 'Total'
  }
</script>

<style scoped>
.total {
    display: flex;
    justify-content: space-around;
    margin-top: 15px;
  }

  .total-item {
    overflow: hidden;
    display: flex;
    align-items: center;
    flex: 1;
    /* min-width: 200px; */
    height: 100px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 2px 2px 5px #ddd;
    margin-right: 20px;
  }

  i {
    display: inline-block;
    width: 50px;
    height: 100%;
    background-color: #121738;
    text-align: center;
    line-height: 100px;
    color: #fff;
    font-size: 28px;
  }

  .info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 30px;
  }

  .num {
    font-size: 50px;
    margin-bottom: 5px;
  }

  .text {
    font-size: 14px;
  }
</style>